home *** CD-ROM | disk | FTP | other *** search
/ Gekkan Dennou Club 145 / Gekkan Dennou Club - 2000.6 Vol. 145 (Japan).7z / Gekkan Dennou Club - 2000.6 Vol. 145 (Japan) (Track 1).bin / tools / sharp / xc2102i.lzh / XC2102.XDF / INCLUDE / BASIC.H < prev    next >
Text File  |  1992-03-03  |  4KB  |  177 lines

  1. /*
  2.  * basic.h X68k XC Compiler v2.10 Copyright 1990,91,92 SHARP/Hudson
  3.  */
  4. #ifndef    __BASIC_H
  5. #define    __BASIC_H
  6.  
  7. #ifdef    FORWORD
  8. #define    __PROTO_TYPE
  9. #endif
  10. #ifdef    __STDC__
  11. #define    __PROTO_TYPE
  12. #endif
  13.  
  14. #ifdef    __PROTO_TYPE
  15.  
  16. char    *b_binS(char *, int);
  17. char    *b_chrS(char *, int);
  18. char    *ecvt(double, int, int *, int *);
  19. char    *fcvt(double, int, int *, int *);
  20. double    fix(double);
  21. char    *gcvt(double, int, char *);
  22. char    *b_hexS(char *, int);
  23. char    *b_itoa(char *, int);
  24. char    *b_octS(char *, int);
  25. int    dskf(int);
  26. int    b_fclose(int);
  27. int    b_fcloseall(void);
  28. int    b_feof(int);
  29. int    b_fgetc(int);
  30. int    b_fputc(char, int);
  31. int    b_fread(void *, int, int, int);
  32. int    b_freads(char *, int, int);
  33. int    b_fseek(int, int, int);
  34. double    atan(double);
  35. double    cos(double);
  36. double    exp(double);
  37. double    log(double);
  38. double    pow(double, double);
  39. int    rand(void);
  40. void    randomize(int);
  41. double    rnd(void);
  42. double    sgn(double);
  43. double    sin(double);
  44. double    sqrt(double);
  45. void    srand(unsigned);
  46. double    tan(double);
  47. char    *strlwr(char *);
  48. char    *strnset(char *, char, unsigned);
  49. char    *strrev(char *);
  50. char    *strset(char *, char);
  51. char    *strupr(char *);
  52.  
  53. #ifndef    __CTYPE_H
  54. int    isalnum(int);
  55. int    isalpha(int);
  56. int    isascii(int);
  57. int    iscntrl(int);
  58. int    isdigit(int);
  59. int    isgraph(int);
  60. int    islower(int);
  61. int    isprint(int);
  62. int    ispunct(int);
  63. int    isspace(int);
  64. int    isupper(int);
  65. int    isxdigit(int);
  66. int    toascii(int);
  67. int    tolower(int);
  68. int    toupper(int);
  69. #endif
  70.  
  71. int    asc(const char *);
  72. double    atof(const char *);
  73. int    atoi(const char *);
  74. double    val(const char *);
  75. int    b_fopen(const char *, const char *);
  76. int    b_fwrite(const void *, int, int, int);
  77. int    b_fwrites(const char *, int);
  78. int    instr(int, const char *, const char *);
  79. char    *b_leftS(char *, const char *, int);
  80. char    *b_midS(char *, const char *, int, int);
  81. char    *b_mirrorS(char *, const char *);
  82. char    *b_rightS(char *, const char *, int);
  83. int    b_strchr(const char *, char);
  84. unsigned strcspn(const char *, const char *);
  85. char    *b_stringS(char *, int, const char *);
  86. unsigned strlen(const char *);
  87. int    b_strrchr(const char *, char);
  88. unsigned strspn(const char *, const char *);
  89. char    *b_strtok(char *, const char *);
  90. int    frename(const char *, const char *);
  91. int    fdelete(const char *);
  92. int    child(const char *);
  93.  
  94. #undef    __PROTO_TYPE
  95. #else
  96.  
  97. int    asc();
  98. double    atof();
  99. int    atoi();
  100. char    *b_binS();
  101. char    *b_chrS();
  102. char    *ecvt();
  103. char    *fcvt();
  104. double    fix();
  105. char    *gcvt();
  106. char    *b_hexS();
  107. char    *b_itoa();
  108. char    *b_octS();
  109. double    val();
  110. int    dskf();
  111. int    b_fclose();
  112. int    b_fcloseall();
  113. int    b_feof();
  114. int    b_fgetc();
  115. int    b_fopen();
  116. int    b_fputc();
  117. int    b_fread();
  118. int    b_freads();
  119. int    b_fseek();
  120. int    b_fwrite();
  121. int    b_fwrites();
  122. double    atan();
  123. double    cos();
  124. double    exp();
  125. double    log();
  126. double    pow();
  127. int    rand();
  128. void    randomize();
  129. double    rnd();
  130. double    sgn();
  131. double    sin();
  132. double    sqrt();
  133. void    srand();
  134. double    tan();
  135. int    instr();
  136. char    *b_leftS();
  137. char    *b_midS();
  138. char    *b_mirrorS();
  139. char    *b_rightS();
  140. int    b_strchr();
  141. unsigned strcspn();
  142. char    *b_stringS();
  143. char    *strlwr();
  144. char    *strnset();
  145. unsigned strlen();
  146. int    b_strrchr();
  147. char    *strrev();
  148. char    *strset();
  149. unsigned strspn();
  150. char    *b_strtok();
  151. char    *strupr();
  152. int    frename();
  153. int    fdelete();
  154. int    child();
  155.  
  156. #ifndef    __CTYPE_H
  157. int    isalnum();
  158. int    isalpha();
  159. int    isascii();
  160. int    iscntrl();
  161. int    isdigit();
  162. int    isgraph();
  163. int    islower();
  164. int    isprint();
  165. int    ispunct();
  166. int    isspace();
  167. int    isupper();
  168. int    isxdigit();
  169. int    toascii();
  170. int    tolower();
  171. int    toupper();
  172. #endif
  173.  
  174. #endif
  175.  
  176. #endif
  177.